home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
biz
/
dopus
/
DO5CleanRam.lha
/
CleanRam.dopus5
next >
Wrap
Text File
|
1997-11-20
|
1KB
|
54 lines
/* CleanRam.Dopus5 for Directory Opus 5.5+ (GPSoftware)
by Mark Dyer - mark@intface.zynet.co.uk
Http://www.geocities.com/SiliconValley/Bay/6358/
Installation:
Copy this script to the Dopus5:Arexx directory.
Create a Button/Menu/ect
call as
-------------------------------------
Arexx Dopus5:Arexx/CleanRam.Dopus5
-------------------------------------
Thats it...
*/
parse arg portname
if portname='' then
portname='DOPUS.1'
address value portname
options results
lister Query Source
if rc>0 then call NList
Lister Query Source
SList=result
Lister Query Slist Path
Dir=result
Lister Read SList 'Ram:'
Call Delete
Lister Read Slist Dir
Exit
NList:
Lister New 'Ram:'
Lister Query Source
SList=result
Call Delete
Lister Close Slist
Exit
Delete:
Lister Wait SList
Command Source SList None
Lister Refresh SList Full
if exists('ram:Clipboards') then lister select SList "Clipboards" on
if exists('ram:T') then lister select SList "T" on
if exists('ram:ENV') then lister select SList "ENV" on
if exists('ram:Disk.info') then lister select SList "Disk.info" on
Lister Refresh SList Full
Command Source SList Toggle
Dopus Request '"Clean Ram Disk" OK|No'
If RC>0 then
Command Source Slist Delete Quiet
Lister Wait SList